package asabranca.shell.actions;

import org.eclipse.jface.action.Action;
import org.eclipse.jface.window.ApplicationWindow;

public class SairAction extends Action {

	private ApplicationWindow window;

	public SairAction(ApplicationWindow w) {
		this.window = w;
		setText("E&xit");
	}

	public void run() {
		window.close();
	}
}
